#include "radiobutton2.h"
#include "ui_radiobutton2.h"

radioButton2::radioButton2(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::radioButton2)
{
    ui->setupUi(this);
}

radioButton2::~radioButton2()
{
    delete ui;
}

void radioButton2::on_radioButton_clicked(bool checked)
{
    qDebug() << "clicked: " << checked;
}


void radioButton2::on_radioButton_2_pressed()
{
    qDebug() << "pressed";
}

void radioButton2::on_radioButton_3_released()
{
    qDebug() << "released";
}



void radioButton2::on_radioButton_4_toggled(bool checked)
{
    // 状态改变时触发
    qDebug() << "toggled" << checked;
}
